#ifndef BEARPI_H3863_H
#define BEARPI_H3863_H

#include <iostream>
#include <functional>
#include "at_cmd_parser/transparent_mode.h"

class bearpi_h3863
{
public:
    bearpi_h3863(const std::string& work_mode);
    ~bearpi_h3863();

    int transmode_send_bytes_data(unsigned char *p_data, int length);
    int transmode_read_bytes_pool(unsigned char *p_data, int length);

    
private:
    transparent_mode *trans_mode = nullptr;

    void read_thread_handler();
    std::thread read_thread;

};




#endif

